package com.ycf.serevice;

import com.ycf.mapper.UserMapper;
import com.ycf.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface UserService {

    List<User> getUserList();

    User getUserById(@Param("id") int id);

}
